﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Money.Data;

namespace Money.Interfaces
{
    public interface IClassService
    {
        List<Class> GetClasses();
        Class GetClassById(int id);
        void CreateClass(Class item);
        void DeleteClass(int id);
        void UpdateClass(Class item);
        List<Class> GetClasss(string orderBy, string orderDirection, int page, int pageSize, out int totalRecords);
        bool CanDelete(int id);
    }
}
